package org.streets.eis.ext.analysis.services;

import java.io.Serializable;
import org.streets.eis.ext.analysis.entities.QueryStruct;

public interface QueryBuilder extends Serializable {
	
	public QueryBuilder addTable(String name,String alias, Boolean allShow);
	public QueryBuilder addTable(String name,String alias);
	public QueryBuilder addFields(String ... fieldNames);
	public QueryBuilder addCondition(String ... conditions);
	public QueryBuilder addConditionExpr(String expr);	
	public QueryBuilder addOrderBy(String fieldName,String orderType);
	public QueryBuilder addOrderBy(String fieldName);
		
	public QueryStruct build();

}
